package com.mrjy.maintain.bo;

import java.util.Map;

import com.mrjy.common.entity.NewsInfo;
import com.mrjy.common.entity.UserInfo;

public interface INewsInfoBo {
	

		//分页查询
		public Map<String, Object> queryPageNewsInfo(NewsInfo newsInfo,UserInfo userInfo);
		
		//分页查询新闻类型
		public Object queryNewsTypeList();
				
		
		
		//添加
		public int insert(NewsInfo newsInfo);
		
		//根据Id查找
		public NewsInfo queryById(int id);
		
		//根据ID修改
		public int updateById(NewsInfo newsInfo);
			
		//根据ID删除
		public int deleteByIds(int[] ids);
			
		//根据ID禁用、起用
		public int updateDisableFlag(NewsInfo newsInfo);
}
